using FireStarter.Base;
using FireStarter.Base.BusinessObjectMerger;
using Habanero.Base;

namespace FireStarterModeller.Logic
{
    public class DMSolutionMerger : BusinessObjectMerger
    {
        public DMSolutionMerger(IMergableBo solution)
            : base(solution, null)
        {
        }

        protected override bool MustIgnoreProperty(IBOProp prop)
        {
            if (base.MustIgnoreProperty(prop)) return true;
            return prop.PropertyName == "GenerateCode" || prop.PropertyName == "NeedsRegeneration";
        }
    }
}